﻿using System;
using Newtonsoft.Json;
using Pay.TO;

namespace Pay.DTO {
	/// <summary>
	/// 账单表：mc_Bill
	/// </summary>
	[Serializable]
	[JsonObject(MemberSerialization.OptOut)]
	public class bill_dto {
		public bill_dto() {
		}

		/// <summary>
		/// 分类id
		/// </summary>
		[JsonIgnore]
		public long id { get; set; }
		/// <summary>
		/// 商户id
		/// </summary>
		[JsonIgnore]
		public long merchant_id { get; set; }
		/// <summary>
		/// 余额，含待确认
		/// </summary>
		public decimal balance { get; set; }
		/// <summary>
		/// 待确认
		/// </summary>
		public decimal unconfirmed { get; set; }
		/// <summary>
		/// 已提现
		/// </summary>
		public decimal deposited { get; set; }
		/// <summary>
		/// 提现中
		/// </summary>
		public decimal depositeding { get; set; }
		/// <summary>
		/// 可提现
		/// </summary>
		public decimal deposit { get; set; }
        /// <summary>
        /// 货款待确定
        /// </summary>
        public decimal goods_unconfirmed { get; set; }
        /// <summary>
        /// 货款可提现
        /// </summary>
        public decimal goods_deposit { get; set; }
        /// <summary>
        /// 货款提现中
        /// </summary>
        public decimal goods_depositing { get; set; }
        /// <summary>
        /// 货款已提现
        /// </summary>
        public decimal goods_deposited { get; set; }
		/// <summary>
		/// 交易担保
		/// </summary>
		public decimal security { get; set; }
		/// <summary>
		/// 账务冻结
		/// </summary>
		public bool freeze { get; set; }
		/// <summary>
		/// O商高清＝收款高清＋收款高清
		/// </summary>
		public decimal out_profit { get; set; }
		/// <summary>
		/// APP支付或公众号支付的金额
		/// </summary>
		public decimal other_amt { get; set; }
	}
}